     :root {
    --primary-color: #025297;
    --primary-dark: #013a6d;
    --primary-light: #e6f0f8;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --border-color: #dee2e6;
    --success-color: #28a745;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    color: var(--text-dark);
}

.header-logo {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.logo-text .highlight {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 400;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.header-link {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.header-link:hover {
    color: white;
    background: rgba(255, 255, 255, 0.15);
}

.header-link.sign-in {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.header-link.sign-in:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.registration-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 6rem 0 2rem;
}

.registration-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    height: auto;
}

.brand-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 4rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    min-height: 100%;
}

.brand-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.brand-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.brand-content {
    position: relative;
    z-index: 1;
}

.brand-logo {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.brand-description {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.form-section {
    padding: 4rem 3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    position: relative;
}

.progress-steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.progress-line {
    position: absolute;
    top: 20px;
    left: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.step.completed .step-number {
    background: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    text-align: center;
}

.step.active .step-label {
    color: var(--primary-color);
}

.form-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-subtitle {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-control, .form-select {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(21, 114, 232, 0.15);
}

.input-group-text {
    background: var(--primary-light);
    border: 1px solid var(--border-color);
    color: var(--primary-color);
    border-radius: 8px 0 0 8px;
}

.input-group .form-control {
    border-radius: 0 8px 8px 0;
}

.password-input-group {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1rem;
}

.password-toggle i {
    font-size: 1rem;
}

.password-input {
    padding-right: 2.5rem !important;
    border-radius: 8px !important;
}

.btn-primary {
    background: var(--primary-color);
    border: none;
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 114, 232, 0.3);
}

.btn-outline-secondary {
    border: 2px solid var(--border-color);
    color: var(--text-dark);
    padding: 0.875rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-outline-secondary:hover {
    background: var(--border-color);
    border-color: var(--border-color);
}

.security-badges {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--primary-light);
    border-radius: 8px;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    font-weight: 500;
}

.security-badge i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.password-strength {
    margin-top: 0.5rem;
}

.strength-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.strength-fill {
    height: 100%;
    width: 0%;
    transition: all 0.3s ease;
}

.strength-text {
    font-size: 0.8rem;
    font-weight: 500;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider span {
    padding: 0 1rem;
}

.social-login {
    display: flex;
    gap: 1rem;
}

.social-btn {
    flex: 1;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.social-btn:hover {
    background: #f8f9fa;
    border-color: var(--text-muted);
}

.login-link {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-muted);
}

.login-link a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.login-link a:hover {
    text-decoration: underline;
}

@media (max-width: 991px) {
    .brand-section {
        padding: 3rem 2rem;
    }

    .form-section {
        padding: 3rem 2rem;
    }

    .brand-title {
        font-size: 1.5rem;
    }

    .brand-description {
        font-size: 1rem;
    }
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(21, 114, 232, 0.15);
}

.invalid-feedback {
    display: none;
    font-size: 0.85rem;
}

.was-validated .form-control:invalid ~ .invalid-feedback,
.form-control.is-invalid ~ .invalid-feedback {
    display: block;
}

@media (max-width: 767px) {
    .header-logo {
        padding: 0.875rem 1.5rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .header-nav .header-link {
        display: none;
    }

    .header-nav .header-link.sign-in {
        display: block;
        padding: 0.4rem 0.875rem;
        font-size: 0.85rem;
    }

    .registration-container {
        padding: 5.5rem 0 0;
    }

    .registration-card {
        margin-top: 1rem;
        border-radius: 0;
        box-shadow: none;
    }

    .brand-section {
        padding: 2rem 1.5rem;
    }

    .form-section {
        padding: 2rem 1.5rem;
    }

    .progress-steps {
        margin-bottom: 2rem;
    }

    .step-label {
        font-size: 0.7rem;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .security-badges {
        gap: 1rem;
    }

    .social-login {
        flex-direction: column;
    }

    /* Updated button styles for mobile using Bootstrap btn-sm */
    .btn-primary.btn-sm {
        width: 90%;
    }

    .btn-outline-secondary.btn-sm {
        width: 10%;
    }

    .input-group .form-control {
        border-radius: 8px !important;
    }

    .input-group-text {
        border-radius: 8px 0 0 8px !important;
    }

    .registration-card .row > * {
        min-height: auto !important;
    }
}




	#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(2, 82, 151, 0.2); /* Less transparent for more professionalism */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    pointer-events: auto; /* Keep overlay active */
}

/* Ensure no background interaction */
#overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    z-index: -1;
    pointer-events: all;
}

/* Bigger spinner container */
.spinner-container {
    position: relative;
    width: 70px; /* Increased size */
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Outer rotating ring */
.spinner {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 6px solid transparent;
    border-top: 6px solid #025297;
    border-right: 6px solid #025297;
    animation: spin 1s linear infinite;
    position: absolute;
}

/* Inner white circle */
.spinner-inner {
    width: 50px;
    height: 50px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
}

/* PG text */
.text {
    position: absolute;
    font-size: 20px; /* Bigger text */
    font-weight: bold;
    color: #025297;
    text-align: center;
}

/* Smooth rotation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


.modal-backdrop.show {
   background: linear-gradient(rgba(2, 82, 151, 0.9), rgba(0, 0, 0, 0.6));
    opacity: 0.9;             /* 90% darkness */
}



#myAlert {
    visibility: hidden;
    position: fixed;
    color: white;
    border-radius: 10px;
    top: 0;
    right: 0;
    transform: translate(-15px, 15px);
    overflow: hidden;
    width: 80%;
    z-index: 9999;
    }

    #myAlertProgress {
            width: 100%;
        }



.myAlert-text-icon {
    align-items: center;
    box-shadow: 0 1px 1px rgb(10 10 10 / 10%);
    display: flex;
    max-width: auto;
    padding: 10px;
}
.myAlert-icon {
    margin-right: 10px;
    font-size: 1.5em;
}
.myAlert-message {
    flex-grow: 1;
    font-size: 1em;
    font-weight: 400;
    padding: 5px 5px;
    width: 100%;
}
.close {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: 0 0;
    border: none;
    color: currentColor;
    font-family: inherit;
    font-size: 1em;
    margin: 0;
    padding: 0;
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    padding: 0.75rem 1rem;
}
#myAlert.show {
    visibility: visible;
    animation: show 0.5s forwards;
}
@keyframes show {
    0% {
        transform: translate(-15px, 15px) scale(0);
    }
    50% {
        transform: translate(-15px, 15px) scale(1.2);
    }
    70% {
        transform: translate(-15px, 15px) scale(0.9);
    }
    100% {
        transform: translate(-15px, 15px) scale(1);
    }
}
#myAlertBar {
    height: 2px;
    background-color: #ddd;
    color: white;
}


.icon-circle {
  display: inline-flex; /* Centers the icon */
  justify-content: center; /* Centers the icon horizontally */
  align-items: center; /* Centers the icon vertically */
  width: 40px; /* Adjust the size as needed */
  height: 40px; /* Adjust the size as needed */
  border-radius: 50%; /* Makes the container a circle */
  background-color: #f0f0f0; /* Adjust the background color as needed */
  border: 2px solid #ccc; /* Optional: add a border */
  margin-right: 5px;
}

.icon-circle i {
  font-size: 15px; /* Adjust the icon size as needed */
  color: #333; /* Adjust the icon color as needed */
}






.otp-container {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin: 2rem 0;
}

.otp-input {
    width: 50px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.otp-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(2, 82, 151, 0.15);
    transform: scale(1.05);
}

.otp-input.filled {
    background: var(--primary-light);
    border-color: var(--primary-color);
}

.otp-input.error {
    border-color: #dc3545;
    animation: shake 0.3s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.otp-timer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem;
    background: var(--primary-light);
    border-radius: 8px;
}

.otp-timer i {
    color: var(--primary-color);
}

.otp-timer.expired {
    background: #fff3cd;
    color: #856404;
}

.otp-timer.expired i {
    color: #856404;
}

.otp-resend {
    text-align: center;
}

.otp-resend .btn-link {
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.otp-resend .btn-link:hover {
    color: var(--primary-dark);
    background: var(--primary-light);
    border-radius: 6px;
}

.otp-resend .btn-link i {
    margin-right: 0.25rem;
}

.otp-resend .btn-link .fa-whatsapp {
    color: #25D366;
}

/* Mobile responsiveness for OTP */
@media (max-width: 767px) {
    .otp-input {
        width: 45px;
        height: 55px;
        font-size: 1.25rem;
    }

    .otp-container {
        gap: 0.5rem;
    }

    .otp-resend .d-flex {
        flex-direction: column;
        gap: 0.5rem !important;
    }

    .otp-resend .d-flex span {
        display: none;
    }
}